home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 401-425 / disk_419 / yacc / src.lzh / Src / RCS / new_features,v < prev    next >
Text File  |  1990-07-14  |  3KB  |  80 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @# @;
  7.  
  8.  
  9. 1.1
  10. date     90.07.14.18.54.47;  author loftus;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @     This version of Berkeley Yacc has been extensively reorganized and
  26. contains many new features.  It is an amalgam of three earlier versions
  27. of Berkeley Yacc.  It is largely untested, so expect it to contain bugs.
  28. When bugs are found report them to corbett@@berkeley.edu.  Please
  29. include small examples if possible.
  30.  
  31.      Despite my pleas not to be told of undocumented features of AT&T Yacc,
  32. I have received unsolicited descriptions of such features.  Telling me of
  33. such features places the public-domain status of Berkeley Yacc at risk.
  34. Please do not send me descriptions of undocumented features.  On the
  35. other hand, I would be very interested in learning of documented
  36. features I have not implemented.
  37.  
  38.      The -l and -t options have been implemented.  The -l option tells
  39. Yacc not to include #line directives in the code it produces.  The -t
  40. option causes debugging code to be included in the compiled parser.
  41.  
  42.      The code for error recovery has been changed to implement the same
  43. algorithm as AT&T Yacc.  There will still be differences in the way
  44. error recovery works because AT&T Yacc uses more default reductions
  45. than Berekeley Yacc.
  46.  
  47.      The environment variable TMPDIR determines the directory where
  48. temporary files will be created.  If TMPDIR is defined, temporary files
  49. will be created in the directory whose pathname is the value of TMPDIR.
  50. By default, temporary files are created in /tmp.
  51.  
  52.      The keywords are now case-insensitive.  For example, %nonassoc,
  53. %NONASSOC, %NonAssoc, and %nOnAsSoC are all equivalent.
  54.  
  55.      Commas and semicolons that are not part of C code are treated as
  56. commentary.
  57.  
  58.      Line-end comments, as in BCPL, are permitted.  Line-end comments
  59. begin with // and end at the next end-of-line.  Line-end comments are
  60. permitted in C code; they are converted to C comments on output.
  61.  
  62.      The form of y.output files has been changed to look more like
  63. those produced by AT&T Yacc.
  64.  
  65.      A new kind of declaration has been added.  The form of the declaration
  66. is
  67.  
  68.       %ident string
  69.  
  70. where string is a sequence of characters begining with a double quote
  71. and ending with either a double quote or the next end-of-line, whichever
  72. comes first.  The declaration will cause a #ident directive to be written
  73. near the start of the output file.
  74.  
  75.      If a parser has been compiled with debugging code, that code can be
  76. enabled by setting an environment variable.  If the environment variable
  77. YYDEBUG is set to 0, debugging output is suppressed.  If it is set to 1,
  78. debugging output is written to standard output.
  79. @
  80.